package yxy.game.pm2.bean.module.rank.active;

import yxy.game.pm2.bean.area.AreaBean;
import yxy.game.pm2.bean.module.rank.IWorshipableRank;
import yxy.game.pm2.bean.module.rank.RankWorship;

public abstract class PlayerActiveRankModule extends AreaActiveRankModule implements IWorshipableRank {

	private RankWorship worship;

	public PlayerActiveRankModule(AreaBean areaBean, int type) {
		super(areaBean, type);
		worship = new RankWorship(rankKey(), rankActiveName());
		initInfo();
	}
	
	@Override
	public RankWorship getWorship() {
		return worship;
	}

}
